﻿using Dapper;
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Model.Model
{
    [Serializable]
   public class BaseModel<TPrimaryKey>
    {
        [Key]
       public  TPrimaryKey Id { get; set; }
    }
    [Serializable]
    public class BaseExplicitModel<TPrimaryKey>
    {
        [ExplicitKey]
        public TPrimaryKey Id { get; set; }
    }
}
